/* 首页样式 */
.wrapper{
    margin: 0px auto;
    width: 1200px;
}
body{
    background-color: #f3f5f7;
}
/* 头部区域 */
.header{
    height: 100px;
    background-color: #fff;
}
.header .wrapper{
    display: flex;
    padding-top: 29px;
    padding-bottom: 30px;

}
.header .wrapper .logo a{
    display: block;
    width: 195px;
    height: 41px;
    background-image: url(../images/logo.png);
    font-size: 0px;
}
/* 导航区域 */
.nav{
    margin-left: 102px;

}
.nav ul{
    display: flex;
}
.nav li{
    margin-right: 24px;
}
.nav li a{
    display: block;
    padding: 6px 8px ;
    line-height: 27px;
    font-size: 19px;
}
.nav .active,
.nav li a:hover{
    border-bottom: 2px solid #00a4ff;
}
/* 搜索区域 */
.search{

    display: flex;
    width: 412px;
    height: 40px;
    background-color: #f3f5f7;
    margin-left: 64px;

    border-radius: 20px;
    padding-left: 19px;
    padding-right: 12px;
}
.search input{
    flex: 1;
    margin-top: 10px;
    margin-bottom: 10px;
    height: 20px;
    border: none ;
    /* 去掉表单控件的焦点框 */
    outline: none;
    background-color: transparent;
}
.search input::placeholder{
    font-style: 14px;
    color: #999;
}
.search a{
    align-self: center;
    width: 16px;
    height: 16px;
    background-image: url(../images/search.png);

}
/* 用户区域 */
.user{
    margin-left: 32px;

    margin-top: 4px;
}
.user img{
    margin-right: 7px;
    /* vertical-align处理行内块和行内垂直方向对齐方式 */
    vertical-align: middle;
}
.user span{
    font-size: 14px;
    color: #666;
}